public class ArrayExercise02 {
	public static void main(String[] args){
		int[] arr = {4,-1,9,10,23};
		int max = 0;
		for(int i = 1; i < arr.length; i++){
			if(arr[max] < arr[i]){
				max = i;
			}
		}
		System.out.println("max = " + arr[max] + " 下标 = " + max);
	}
}